package com.users.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * USERS
 * @author 
 */
@ApiModel(value="用户表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Users implements Serializable {
    @ApiModelProperty("登录id")
    @JsonProperty("loginId") //返回给前端的属性结构
    private String loginId;
    @ApiModelProperty("登录密码")
    private String loginPwd;
    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("用户电话")
    private String tel;
    @ApiModelProperty("用户头像")
    private String pic;

    private static final long serialVersionUID = 1L;
}